package com.ueboot.weishop.service.area;

import com.ueboot.core.service.BaseService;
import com.ueboot.weishop.entity.setting.AreaEntity;

import java.util.List;

/**
 * Created by Neel on 2017/10/9.
 */
public interface AreaService extends BaseService<AreaEntity> {

    List<AreaEntity> findByParentId(Long parentId);

    List<AreaEntity> findByFullPathIdStartingWithAndLevel(String fullPathId, Integer level);
}
